package demo6;

/**
 * Created with IntelliJ IDEA.
 * Description:super关键字
 * User: 86183
 */
public class Base {
    public int a = 1;
    public int b = 2;

    public Base(){
        System.out.println("父类Base()的构造方法");
    }
    public void A(){
        System.out.println("Base的方法A");
    }
    public void B(){
        System.out.println("Base的方法B");
    }
}
